import {
  Input,
  InputNumber,
  Button,
  Form,
  FormItem,
  Drawer,
  Modal,
  Row,
  Col,
  Tooltip,
  Dropdown,
  Menu,
  SubMenu,
  message
} from 'ant-design-vue'

function install(app: any) {
  app.use(Input)
  app.use(InputNumber)
  app.use(Button)
  app.use(Form)
  app.use(FormItem)
  app.use(Drawer)
  app.use(Modal)
  app.use(Row)
  app.use(Col)
  app.use(Tooltip)
  app.use(Dropdown)
  app.use(Menu)
  app.use(SubMenu)
  app.config.globalProperties.$message = message
}

export default {
  install
}
